﻿using System;
using DBA.Common;
using System.Collections;
using System.Collections.Generic;

namespace DBA.Model
{
    /// <summary>
    ///功能描述    :    PaperSum
    ///开发者      :    
    ///建立时间    :    2012-08-22 13:49:29
    ///修订描述    :    
    ///进度描述    :    
    ///版本号      :    1.0
    ///最后修改时间:    2012-08-22 13:49:29
    /// </summary>
        [OrmPropertyAttribute(TableName = "PaperSum",PrimaryKey = "Ps_ID",PrimaryKeyType = "IDENTITY",ParameterType = "int")]
    public class PaperSum
    {
        #region 构造函数
        public PaperSum(){}
        
        public PaperSum(int ps_ID,short ps_Type,string ps_PublicationName,string ps_EnglishName,string ps_Class,string ps_Issue,string ps_addressPerson,string ps_date,string ps_Demo,string ps_Person1,string ps_Person2,string ps_Person3,string ps_Person4,string ps_PaperName,string ps_Sci,decimal ps_Weight,string ps_AttachName,short Person1Is,short Person2Is,short Person3Is,short Person4Is)
        {
           this._ps_ID = ps_ID;
           this._ps_Type = ps_Type;
           this._ps_PublicationName = ps_PublicationName;
           this._ps_EnglishName = ps_EnglishName;
           this._ps_Class = ps_Class;
           this._ps_Issue = ps_Issue;
           this._ps_addressPerson = ps_addressPerson;
           this._ps_date = ps_date;
           this._ps_Demo = ps_Demo;
           this._ps_Person1 = ps_Person1;
           this._ps_Person2 = ps_Person2;
           this._ps_Person3 = ps_Person3;
           this._ps_Person4 = ps_Person4;
           this._ps_PaperName = ps_PaperName;
           this._ps_Sci = ps_Sci;
           this._ps_Weight = ps_Weight;
           this._ps_AttachName = ps_AttachName;
           this._Person1Is = Person1Is;
           this._Person2Is = Person2Is;
           this._Person3Is = Person3Is;
           this._Person4Is = Person4Is;

        }
        #endregion
        
        #region 成员
        private int _ps_ID;
        private short _ps_Type;
        private string _ps_PublicationName;
        private string _ps_EnglishName;
        private string _ps_Class;
        private string _ps_Issue;
        private string _ps_addressPerson;
        private string _ps_date;
        private string _ps_Demo;
        private string _ps_Person1;
        private string _ps_Person2;
        private string _ps_Person3;
        private string _ps_Person4;
        private string _ps_PaperName;
        private string _ps_Sci;
        private decimal _ps_Weight;
        private string _ps_AttachName;
        private short _Person1Is;
        private short _Person2Is;
        private short _Person3Is;
        private short _Person4Is;
        #endregion
        
        #region 属性
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "0")]
        public virtual int Ps_ID
        {
            get { return _ps_ID; }
            set { _ps_ID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "smallint",ParameterLength = 2,IsNull = "1")]
        public virtual short Ps_Type
        {
            get { return _ps_Type; }
            set { _ps_Type = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 200,IsNull = "1")]
        public virtual string Ps_PublicationName
        {
            get { return _ps_PublicationName; }
            set { _ps_PublicationName = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 600,IsNull = "1")]
        public virtual string Ps_EnglishName
        {
            get { return _ps_EnglishName; }
            set { _ps_EnglishName = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 40,IsNull = "1")]
        public virtual string Ps_Class
        {
            get { return _ps_Class; }
            set { _ps_Class = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 100,IsNull = "1")]
        public virtual string Ps_Issue
        {
            get { return _ps_Issue; }
            set { _ps_Issue = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 40,IsNull = "1")]
        public virtual string Ps_addressPerson
        {
            get { return _ps_addressPerson; }
            set { _ps_addressPerson = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 16,IsNull = "1")]
        public virtual string Ps_date
        {
            get { return _ps_date; }
            set { _ps_date = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 200,IsNull = "1")]
        public virtual string Ps_Demo
        {
            get { return _ps_Demo; }
            set { _ps_Demo = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 32,IsNull = "1")]
        public virtual string Ps_Person1
        {
            get { return _ps_Person1; }
            set { _ps_Person1 = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 32,IsNull = "1")]
        public virtual string Ps_Person2
        {
            get { return _ps_Person2; }
            set { _ps_Person2 = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 32,IsNull = "1")]
        public virtual string Ps_Person3
        {
            get { return _ps_Person3; }
            set { _ps_Person3 = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 32,IsNull = "1")]
        public virtual string Ps_Person4
        {
            get { return _ps_Person4; }
            set { _ps_Person4 = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 200,IsNull = "1")]
        public virtual string Ps_PaperName
        {
            get { return _ps_PaperName; }
            set { _ps_PaperName = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 40,IsNull = "1")]
        public virtual string Ps_Sci
        {
            get { return _ps_Sci; }
            set { _ps_Sci = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "decimal",ParameterLength = 3,IsNull = "1")]
        public virtual decimal Ps_Weight
        {
            get { return _ps_Weight; }
            set { _ps_Weight = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "nvarchar",ParameterLength = 100,IsNull = "1")]
        public virtual string Ps_AttachName
        {
            get { return _ps_AttachName; }
            set { _ps_AttachName = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "smallint",ParameterLength = 2,IsNull = "1")]
        public virtual short Person1Is
        {
            get { return _Person1Is; }
            set { _Person1Is = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "smallint",ParameterLength = 2,IsNull = "1")]
        public virtual short Person2Is
        {
            get { return _Person2Is; }
            set { _Person2Is = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "smallint",ParameterLength = 2,IsNull = "1")]
        public virtual short Person3Is
        {
            get { return _Person3Is; }
            set { _Person3Is = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "smallint",ParameterLength = 2,IsNull = "1")]
        public virtual short Person4Is
        {
            get { return _Person4Is; }
            set { _Person4Is = value; }
        }
        #endregion
    }
}